package com.lzx.mq.feign;

import com.lzx.mq.vo.NicknameVO;
import com.lzx.mq.vo.OssVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 程序员星星
 * @date 2023/2/12
 * @Description
 */
@Component
@FeignClient("five-cube-make-friend")
public interface MakeFriendClient {

    //修改用户昵称(好友聊天)
    @PutMapping("/makeFriend/chat/web/updateNicknameToChat")
    String updateNicknameToChat(@RequestBody NicknameVO nicknameVO);

    //修改用户头像(好友聊天)
    @PutMapping("/makeFriend/chat/web/updateAvatarToChat")
    String updateAvatarToChat(@RequestBody OssVO ossVO);
}
